A fairly useless prime number generator, it can also decompose numbers into their factors. For a program based on the sieve of Eratosthenes, it can handle fairly big numbers (theoretically up to 2^96, practically 2^80). It's more of an exercise in how to write a fast generator rather than something useful, because usefulness starts at 2^1024.